package com.guit.hrms.dto.interview;

import jakarta.validation.constraints.Future;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UpdateInterviewDTO {
    @NotNull(message = "InterviewId不能为空")
    private Integer InterviewId;

    private String interviewerIds;

    private Integer interviewRound;

    private String name;

    private String place;

    private Integer recruitsNumber;

    @Future(message = "开始时间不能早于当前时间")
    private LocalDateTime startTime;
    @Future(message = "结束时间不能早于当前时间")
    private LocalDateTime endTime;
}